package com.louis.ylog.starter;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "ylog.elk")
public class ELKConfig {

    /**
     * 是否启用ELK监控(默认否)
     */
    private boolean enableElk=false;

    /**
     * elk消息接收logstash管道地址, example 127.0.0.1:4560
     */
    private String logstashHost;

}
